package br.com.upper.entity;

import javax.persistence.Entity;
import javax.persistence.SequenceGenerator;

@Entity
@SequenceGenerator(name="SEQUENCE",sequenceName="SEQ_INSTANCE_TYPE",initialValue=1,allocationSize=1)
public class InstanceType extends EntityBase {
	
	private String name;
	
	private Integer index;
	
	private Integer cpuUnits;
	
	private Integer cpuCores;
	
	private Integer memory;
	
	public Integer getIndex() {
		return index;
	}

	public void setIndex(Integer index) {
		this.index = index;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getCpuUnits() {
		return cpuUnits;
	}

	public void setCpuUnits(Integer cpuUnits) {
		this.cpuUnits = cpuUnits;
	}

	public Integer getCpuCores() {
		return cpuCores;
	}

	public void setCpuCores(Integer cpuCores) {
		this.cpuCores = cpuCores;
	}

	public Integer getMemory() {
		return memory;
	}

	public void setMemory(Integer memory) {
		this.memory = memory;
	}

}
